package com.zgf.easy.proxy.demo.implb.order;

import com.zgf.easy.proxy.anno.AutoService;
import com.zgf.easy.proxy.demo.extend.order.OrderExtendApi;
import com.zgf.easy.proxy.demo.extend.order.mode.OrderReq;
import com.zgf.easy.proxy.demo.extend.order.mode.OrderRes;
import com.zgf.easy.proxy.demo.implb.bean.TestbBeanService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 身份覆盖
 */
@Slf4j
@AutoService(value = "orderExtendApiImplB", overrideIdentity = "impla")
public class OrderExtendApiImpl implements OrderExtendApi {

    @Autowired
    private TestbBeanService testbBeanService;


    @Override
    public OrderRes getOrder(OrderReq req) {
        testbBeanService.test();
        return null;
    }
}
